package com.yw.swagger.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author HDY
 * @date 2019/10/21 15:15
 */
@ApiModel("发布内容实体类")
public class WebContents {
    @ApiModelProperty(value = "邮件id", hidden = true)
    private int ID;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "内容")
    private String contents;
    private String htmlContents;

    public String getHtmlContents() {
        return htmlContents;
    }

    public void setHtmlContents(String htmlContents) {
        this.htmlContents = htmlContents;
    }

    @ApiModelProperty(value = "发布人", example = "管理员")
    private String account;
    @ApiModelProperty(value = "发布人账号")
    private String eAccount;
    @ApiModelProperty(value = "模块id(uuid)" ,hidden = true)
    private String modelID;
    @ApiModelProperty(value = "ModelParentID" ,hidden = true)
    private String modelParentID;
    @ApiModelProperty(value = "添加时间" ,hidden = true)
    private Date sendTime;
    @ApiModelProperty(value = "图片路径")
    private String imgUrl;
    @ApiModelProperty(value = "网页路径")
    private String htmUrl;
    @ApiModelProperty(value = "附件路径")
    private String fujian;
    @ApiModelProperty(value = "审核 0未审核 1已审核" ,hidden = true)
    private String shenHe;
    @ApiModelProperty(hidden = true)
    private String disPlayOrder;
    @ApiModelProperty(hidden = true)
    private String hit;
    @ApiModelProperty(hidden = true)
    private String hitID;

    private String modelName;

    @Override
    public String toString() {
        return "WebContents{" +
                "ID=" + ID +
                ", title='" + title + '\'' +
                ", contents='" + contents + '\'' +
                ", account='" + account + '\'' +
                ", eAccount='" + eAccount + '\'' +
                ", modelID='" + modelID + '\'' +
                ", modelParentID='" + modelParentID + '\'' +
                ", sendTime=" + sendTime +
                ", imgUrl='" + imgUrl + '\'' +
                ", htmUrl='" + htmUrl + '\'' +
                ", fujian='" + fujian + '\'' +
                ", shenHe='" + shenHe + '\'' +
                ", disPlayOrder='" + disPlayOrder + '\'' +
                ", hit='" + hit + '\'' +
                ", hitID='" + hitID + '\'' +
                ", modelName='" + modelName + '\'' +
                '}';
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String geteAccount() {
        return eAccount;
    }

    public void seteAccount(String eAccount) {
        this.eAccount = eAccount;
    }

    public String getModelID() {
        return modelID;
    }

    public void setModelID(String modelID) {
        this.modelID = modelID;
    }

    public String getModelParentID() {
        return modelParentID;
    }

    public void setModelParentID(String modelParentID) {
        this.modelParentID = modelParentID;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getHtmUrl() {
        return htmUrl;
    }

    public void setHtmUrl(String htmUrl) {
        this.htmUrl = htmUrl;
    }

    public String getFujian() {
        return fujian;
    }

    public void setFujian(String fujian) {
        this.fujian = fujian;
    }

    public String getShenHe() {
        return shenHe;
    }

    public void setShenHe(String shenHe) {
        this.shenHe = shenHe;
    }

    public String getDisPlayOrder() {
        return disPlayOrder;
    }

    public void setDisPlayOrder(String disPlayOrder) {
        this.disPlayOrder = disPlayOrder;
    }

    public String getHit() {
        return hit;
    }

    public void setHit(String hit) {
        this.hit = hit;
    }

    public String getHitID() {
        return hitID;
    }

    public void setHitID(String hitID) {
        this.hitID = hitID;
    }
}
